package org.example.controller.viewobject;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * @author xietl
 * @date 2025/8/26  10:40
 * @description 帖子的展示类即view
 */
@Data
public class invitationVO {
    private Integer id;                 //id
    private String postTitle;         //帖子标题
    private String postContent;       //帖子内容
    private String userName;          //作者名称
    private Date createTime;           //创建时间
    private Integer status;            //发布状态(0:草稿，1:已发布，2:已删除)
    private String categoryName;      //分类名
    private String coverImage;         //封面图片URL
    private Integer viewCount;         //阅读量
    private Integer commentCount;      //评论数
    private Integer likeCount;         //点赞数
}
